package com.gift.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 特殊支出表
 */
public class SeTable {
    /**
     * 特殊支出ID
     */
    private Integer sid;
    /**
     * 支出的银行ID
     */
    private Integer bid;
    /**
     * 支出的银行别名
     */
    private String alias;
    /**
     * 特殊支出的金额
     */
    private BigDecimal specialexpend;
    /**
     * 特殊支出的类型ID;0:内部提现;1:工作室;2:Q币
     */
    private Integer setype;
    /**
     * 操作者ID
     */
    private Integer handlerid;
    /**
     * 操作者
     */
    private String handlers;
    /**
     * 备注
     */
    private String remark;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createtime;
    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime modifytime;

    public SeTable(Integer sid, Integer bid, String alias, BigDecimal specialexpend, Integer setype, Integer handlerid, String handlers, String remark, LocalDateTime createtime, LocalDateTime modifytime) {
        this.sid = sid;
        this.bid = bid;
        this.alias = alias;
        this.specialexpend = specialexpend;
        this.setype = setype;
        this.handlerid = handlerid;
        this.handlers = handlers;
        this.remark = remark;
        this.createtime = createtime;
        this.modifytime = modifytime;
    }

    public SeTable() {
        super();
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public Integer getBid() {
        return bid;
    }

    public void setBid(Integer bid) {
        this.bid = bid;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias == null ? null : alias.trim();
    }

    public BigDecimal getSpecialexpend() {
        return specialexpend;
    }

    public void setSpecialexpend(BigDecimal specialexpend) {
        this.specialexpend = specialexpend;
    }

    public Integer getSetype() {
        return setype;
    }

    public void setSetype(Integer setype) {
        this.setype = setype;
    }

    public Integer getHandlerid() {
        return handlerid;
    }

    public void setHandlerid(Integer handlerid) {
        this.handlerid = handlerid;
    }

    public String getHandlers() {
        return handlers;
    }

    public void setHandlers(String handlers) {
        this.handlers = handlers == null ? null : handlers.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public LocalDateTime getCreatetime() {
        return createtime;
    }

    public void setCreatetime(LocalDateTime createtime) {
        this.createtime = createtime;
    }

    public LocalDateTime getModifytime() {
        return modifytime;
    }

    public void setModifytime(LocalDateTime modifytime) {
        this.modifytime = modifytime;
    }
}